package com.opencloud.ywt.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.opencloud.ywt.client.model.entity.BhyfBdbPreTemp;
import com.opencloud.ywt.client.model.entity.BhyfBdbTemp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BhyfBdbPreTempMapper extends BaseMapper<BhyfBdbPreTemp> {
    List<BhyfBdbPreTemp> getLastPreTempListByMac(@Param("mac") String mac, @Param("starttime") String starttime, @Param("endtime") String endtime);
    List<BhyfBdbPreTemp> getLastPreTempListByClass(@Param("classid") Integer classid, @Param("starttime") String starttime, @Param("endtime") String endtime);
}